package com.aurora.app.interceptor;



import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;

/**
 * 统一处理异常
 * 
 */
@ControllerAdvice
public class AllControllerAdvice
{
	
	public AllControllerAdvice()
	{
	}
	
	@ExceptionHandler(Exception.class)
	public void handleBind(Exception e)
	{
		e.printStackTrace();
	}
	
}
